import requests

from httpRequest.models import SessionData


class SendRequest(object):
    def __init__(self):
        super(SendRequest, self).__init__()
        self.data = SessionData()

    def request(self, method, url, **kwargs):
        response = requests.request(method, url, **kwargs)
        return response
